package main

import (
	"goruntimeDistributionCrawler/config"
	"goruntimeDistributionCrawler/workderservice"
	"rpc/rpc"
)

func main() {
  runService(config.WORK_HOST_PROT)
}

func runService(url string) error {
   return 	rpc.ServeRpc(
		url,
		&workderservice.CrawlService{})
}
